package cn.uin.infrastructure.dao;

import cn.uin.domain.auth.model.entity.HomeMenuEntity;
import cn.uin.domain.auth.model.entity.HomeRoleEntity;
import cn.uin.domain.auth.model.entity.HomeUserEntity;
import cn.uin.infrastructure.dao.po.HomeRole;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Auther: uIn
 * @Date: 2025/10/19 - 10 - 19 - 18:40
 * @Description: cn.uin.infrastructure.dao
 * @version: 1.0
 */
@Mapper
public interface HomeRoleDao {

    /**
     * 根据用户名获取角色信息
     * @param username
     * @return
     */
    List<HomeRole> queryRolesByUserName(String username);

}
